home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 50
/
Volume 50 - JOGO DISK .iso
/
Games
/
miffypuzzle.swf
/
scripts
/
DefineButton2_37
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2007-09-27
|
909b
|
44 lines
on(release){
i = 1;
while(i < 10)
{
if(i <= 9)
{
var thePuzzlePiece = "_root.p00" + i + ".whitelines";
tellTarget(thePuzzlePiece)
{
_visible = 1;
}
var thePuzzlePiece = "_root.p00" + i + ".blackLines";
tellTarget(thePuzzlePiece)
{
_visible = 1;
}
}
else
{
var thePuzzlePiece = "_root.p0" + i + ".whitelines";
tellTarget(thePuzzlePiece)
{
_visible = 1;
}
var thePuzzlePiece = "_root.p0" + i + ".blackLines";
tellTarget(thePuzzlePiece)
{
_visible = 1;
}
}
i++;
}
if(_root.puzzleNumber <= 2)
{
_root.puzzleNumber += 1;
}
else
{
_root.puzzleNumber = 1;
}
newPuzzle = 1;
gotoAndPlay(1);
}